package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.domain.business.BusinessCountDO;
import com.github.pagehelper.Page;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessesPoolDTO;
import com.qk.entity.Business;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author: byLengs
 * @Date: 2025/10/15 10:58
 * @Description:
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    BusinessCountDO selectCountBusiness();
    Page<Business> selectBusinessesPoolList(BusinessesPoolDTO dto);

    Page<BusinessDO> selectByPage(BusinessListDTO dto);
}
